﻿
<div class="bjui-pageHeader">
    <form id="pagerForm" data-toggle="ajaxsearch" action="${request.getContextPath()}/rework/reworkDetail" method="post">
        <div class="bjui-searchBar">
            <g:hiddenField name="SYS_QUERY_NAME" value="reworkList" />
            <g:hiddenField name="EXPORT_CONTENT_NAME" value="Excel" />
            <label>REWORK_CODE：</label>
            <input name="action_code" value="${action_code}"/>
            <label>StartTime<strong><span class="text-danger">*</span></strong>：</label>
            <input type="text" name="startTime" class="form-control"
                   data-toggle="datepicker" data-pattern="yyyy-MM-dd HH:mm:ss"
                   size="18" id="start-date-input" readonly value="${startTime.format('yyyy-MM-dd HH:mm:ss')}">&nbsp;
            <label>EndTime<strong><span class="text-danger">*</span></strong>：</label>
            <input type="text" name="endTime" class="form-control"
                   data-toggle="datepicker" data-pattern="yyyy-MM-dd HH:mm:ss"
                   size="18" id="end-date-input" readonly value="${endTime.format('yyyy-MM-dd HH:mm:ss')}" >&nbsp;


            <button type="submit" class="btn-default" data-icon="search">Query</button>&nbsp;
            <button type="button" class="btn-blue" onclick="javascript:bjuiExportExl('#pagerForm','${request.getContextPath()}/boetv/exportExcel')" data-icon="file-excel-o" title="导出Excel">Excel</button>&nbsp;

        </div>
    </form>
</div>
<div class="bjui-pageContent">

        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th width="80">NO.</th>
                <th width="120">ReworkLotId</th>
                <th width="120">ReworkPartName</th>
                <th width="120">ReworkStepName</th>
                <th width="100">ReworkCode</th>
                <th width="110">ReworkTime</th>
                <th width="110">ReworkOperator</th>
                <th width="110">ReworkQty</th>
                <th width="100">ReworkRemarks</th>
            </tr>
            </thead>
            <tbody>
            <g:each in="${reworkList}" status="i" var="tableInstance">
                <tr>
                    <td width="60">${i+1}</td>
                    <td width="80">${tableInstance.lot_id}</td>
                    <td width="80">${tableInstance.PART_NAME}</td>
                    <td width="80">${tableInstance.STEP_NAME}</td>
                    <td width="80">${tableInstance.ACTION_CODE}</td>
                    <td width="80">${tableInstance.TRANS_TIME}</td>
                    <td width="110">${tableInstance.OPERATOR1}</td>
                    <td width="110">${tableInstance.MAIN_QTY}</td>
                    <td width="80">${tableInstance.ACTION_COMMENT}</td>
                </tr>
            </g:each>

            </tbody>
        </table>

</div>
<g:render template="../template/pagination" />

